cmake_minimum_required(VERSION 3.10)

project(openvino_test)

set(CMAKE_BUILD_TYPE "Release")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3")

find_package(OpenCV REQUIRED)
find_package(OpenVINO REQUIRED)

#add_definitions(-DUSE_NVIDIA)
#add_definitions(-DTWO_CAMERAS)

include_directories(./)
include_directories(../)
include_directories(../../)
include_directories(/opt/intel/openvino_2022.1.0.643/runtime/include/ie)
include_directories(/home/cheakf/Downloads/l_openvino_toolkit_ubuntu20_2022.3.0.9052.9752fafe8eb_x86_64/runtime/include/ie)
include_directories(/opt/intel/openvino_2022.1.0.643/runtime/include/)
include_directories(${OpenCV_INCLUDE_DIRS})

add_executable(ov_test ov_main.cpp ../ov_detect.cpp ../detector.cpp ../parse_config.cpp )
target_link_libraries(ov_test ${OpenCV_LIBS} openvino::runtime jsoncpp)

